#1.导包
import requests
#2.发送接口请求
a=requests.get(url='https://www.baidu.com')
#3.获取响应内容
print(a.text)